easy way to understand dependency inversion principle